#include <stdio.h>
// Here is the use of input and output funcions of c language functions
int main()
{
    char str[20];
    printf("Enter a string:\n");
    //scanf("%s",str);
    // The scanf function will be interrupted by spaces when entering
    fgets(str,20,stdin);
    printf("You entered : ");
    puts(str);
return 0;
}